﻿@model List<KRM.Core.tblKRMPhoto>
@{
    ViewBag.Title = "AddDocumentDispute";
    Layout = "~/Views/Shared/_PopupLayout.cshtml";
    var disputeid = ViewBag.DisputeId;
}

<div style="padding: 10px">
    @Html.Partial("Partial/_MessageResult")
    <fieldset>
        <legend>Add Document</legend>

        <form action="/rdm/adddocumentdispute" method="POST" enctype="multipart/form-data">
            <input type="hidden" name="disputeid" value="@disputeid"/>
            <div class="row-fluid">
                <div class="span4">Select document</div>
                <div class="span6">
                    <input type="file" required="required" id="file" name="file" />
                </div>
            </div>
            <div class="row-fluid">
                <div class="span4">Name</div>
                <div class="span6">
                    <input type="text" name="name" />
                </div>
            </div>
            <div class="row-fluid">
                <div class="span4">Description</div>
                <div class="span6">
                    <input type="text" name="Description" />
                </div>
            </div>
            <div class="row-fluid">
                <div class="span4"></div>
                <div class="span6">
                    <button type="submit" class="btn btn-primary">Save</button>
                </div>
            </div>
        </form>
    </fieldset>
</div>
